package com.booksmanager.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.booksmanager.pojo.ReturnBooks;
import com.booksmanager.dao.ReturnBooksMapper;
import com.booksmanager.service.ReturnBooksService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 还书表 服务实现类
 * </p>
 *
 * @author Yan
 * @since 2020-05-24
 */
@Service
public class ReturnBooksServiceImpl extends ServiceImpl<ReturnBooksMapper, ReturnBooks> implements ReturnBooksService {

    @Autowired
    private ReturnBooksMapper returnBooksMapper;
    @Override
    public Page<Map<String, Object>> queryReturnBooks(Page page, ReturnBooks returnBooks) {
        return returnBooksMapper.queryReturnBooks(page, returnBooks);
    }
}
